<?php

class Assert
{
    public static function isTrue(bool $flag, string $msg): void
    {
        if (!$flag) {
            throw new \RuntimeException($msg);
        }
    }
}